powered by
Itempool
Set the elements of an Itempool objects.
# S4 method for Itempool,numeric,missing [[(x, i, j) <- value
Item-class object from which to extract element(s) or in which to replace element(s).
Item-class
indices specifying elements to extract or replace.
This will not be used in Itempool-class objects.
Itempool-class
An Item-class object.
Additional parameters to be passed to the function.
An Itempool-class object with elements from Item-class class.
# NOT RUN { item1 <- item(a = 1.12, b = -2.1, c = 0.28) item2 <- item(a = 2, b = 3.2, c = 0.21) ip <- c(item1, item2) item3 <- item(a = 1, b = -.2, c = 0.4) ip[[2]] <- item3 # }
Run the code above in your browser using DataLab